import Vue from 'vue'
import {
  Button,
  scrollbar,
  Carousel,
  CarouselItem,
  Image,
  Form,
  FormItem,
  Input,
  InputNumber,
  Dropdown,
  DropdownMenu,
  DropdownItem,
  Backtop,
  Table,
  TableColumn,
  Popconfirm,
  Message,
  MessageBox,
  Select,
  Option,
  OptionGroup,
  Pagination,
  Dialog,
  Upload,
  Link,
  Collapse,
  CollapseItem,
  Drawer
} from 'element-ui'
Vue.use(Form)
Vue.use(Drawer)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Link)
Vue.use(Upload)
Vue.use(Dialog)
Vue.use(Pagination)
Vue.use(Select)
Vue.use(Option)
Vue.use(OptionGroup)
Vue.use(Popconfirm)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Backtop)
Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Input)
Vue.use(InputNumber)
Vue.use(FormItem)
Vue.use(Button)
Vue.use(scrollbar)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Image)

//全局调用
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$prompt = MessageBox.prompt
